﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Wicresoft.UnifyShow.Portal
{
    public class BusinessInfo : WidgetBase
    {
        public string VendorInfo { get; set; }

        public string SystemInfo { get; set; }

        public string FinanceInfo { get; set; }

        public override string TargetAction
        {
            get
            {
                return "BusinessInfo";
            }
        }

        public override MvcHtmlString BuildRequestParam()
        {
            return MvcHtmlString.Create(string.Format("sid={0}&bid={1}", SiteID, BusinessSytemID));
        }

        public override string AjaxDataType
        {
            get { return "json"; }
        }
    }
}